#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2017/4/11 11:53
# @Author  : r
# @Site    : 
# @File    : urls.py
# @Software: PyCharm

from django.conf.urls import url
from .views import *

urlpatterns = [
    url(r'^index/', index),
    url(r'^login/', login),
    url(r'^register/', register),
    url(r'^sregister/', sregister, name="aaa"),
    url(r'^serverlist/', serverList, name='serverlist'),
    url(r'^delServer/', delServer),
    url(r'^serverdetail/(\d{1,2})', serverdetail),
    url(r'^servergroup/', serverGroup, name='servergroup'),
    url(r'^delGroup/', delGroup),
    url(r'^addGroup/', addGroup),
    url(r'^groupdetail/(\d{1,2})', groupdetail),
    url(r'^addServerToGroup/(\d{1,2})', addServerToGroup),

]